package com.qst.pojo;


import java.util.Date;

/**
 * @packageName:com.qst.pojo
 * @className:User
 * @Description:
 * @author:zhangyu
 * @date 2021/6/16 14:36
 **/


public class User {
    private int id;
    private String username;
    private String loginname;
    private String brithday;
    private String password;
    private String likes;
    private String sex;
    private int phone;
    private int card;
    private int uid;

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getBrithday() {
        return brithday;
    }

    public void setBrithday(String brithday) {
        this.brithday = brithday;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLikes() {
        return likes;
    }

    public void setLikes(String likes) {
        this.likes = likes;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public int getCard() {
        return card;
    }

    public void setCard(int card) {
        this.card = card;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public User(int id, String username, String loginname, String brithday, String password, String likes, String sex, int phone, int card, int uid) {
        this.id = id;
        this.username = username;
        this.loginname = loginname;
        this.brithday = brithday;
        this.password = password;
        this.likes = likes;
        this.sex = sex;
        this.phone = phone;
        this.card = card;
        this.uid = uid;
    }

    public User(int id,String username, String loginname, String brithday, String password, String likes, String sex, int phone, int card) {
        this.id = id;
        this.username = username;
        this.loginname = loginname;
        this.brithday = brithday;
        this.password = password;
        this.likes = likes;
        this.sex = sex;
        this.phone = phone;
        this.card = card;
    }

    @Override
    public String toString() {
        return "User{" +
                "loginname='" + loginname + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
